<?php 
	namespace Models;

	class Projects
	{	
		private $app;
		private $access = 6;
		function __construct($app){
			$this->app = $app;
		}

		function getAll(){

			 $sql = "SELECT idproject project_id, project_title, project_text, user_id, project_status FROM project";
			 $res = $this->app['db']->fetchAll($sql);
			 return $res;
		}
	}

?>